package com.yuncheng.spcyApi.alog.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yuncheng.common.base.entity.BaseEntity;

import java.io.Serializable;


/**
 * 操作日志记录表 spcy_oper_log
 * @author hua
 */
@TableName("spcy_oper_log")
public class SysOperLog extends BaseEntity implements Serializable {
    /** 业务类型（0其它 1新增 2修改 3删除） */
    private Integer operateType;

    /** 日志类型 1: spcy; 2: oa */
    private Integer logType;

    /** 操作人员id */
    private String userid;

    /** 操作人姓名 */
    private String username;

    /** 请求方法 */
    private String method;

    /** 请求方法标题 */
    private String title;

    /** 请求url */
    private String requestUrl;

    /** 操作地址 */
    private String ip;

    /** 请求方式 */
    private String requestType;

    /** 请求参数 */
    private String requestParam;

    /** 请求方法 */
    private String requestMethod;

    /** 返回参数 */
    private String jsonResult;

    /** 操作状态（0正常 1异常） */
    private Integer status;

    /** 错误消息 */
    private String errorMsg;

    /** 消耗时间 */
    private Long costTime;

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getRequestParam() {
        return requestParam;
    }

    public void setRequestParam(String requestParam) {
        this.requestParam = requestParam;
    }

    public String getJsonResult() {
        return jsonResult;
    }

    public void setJsonResult(String jsonResult) {
        this.jsonResult = jsonResult;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public Long getCostTime() {
        return costTime;
    }

    public void setCostTime(Long costTime) {
        this.costTime = costTime;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getLogType() {
        return logType;
    }

    public void setLogType(Integer logType) {
        this.logType = logType;
    }
}
